import { Component, Input, Output, EventEmitter } from '@angular/core';
@Component({
    selector:'step-tab',
    templateUrl:'./steptab.component.html',
    styleUrls:['./steptab.component.css']
})
export class steptabComponent{
    @Input()
    idx:number;

    @Input()
    name:string;

    @Output()
    currentClick:EventEmitter<number> = new EventEmitter<number>();

    constructor(){

    }

    click(){
        this.currentClick.emit(this.idx);
    }
}